package com.my.cd.proxy;

import com.my.cd.proxy.candymachine.State;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * 远程糖果机接口：即代理对象的抽象
 */
public interface CandyMachineRemote extends Remote {

    String getLocation() throws RemoteException;

    int getCount() throws RemoteException;

    State getState() throws RemoteException;

}
